package cn.zjitc.core.dao;

import cn.zjitc.core.domain.Customer;

import java.util.List;

public interface CustomerDao {
    //客户列表
    public List<Customer> selectCustomerList(Customer customer);
    //客户数
    public Integer selectCustomerListCount(Customer customer);
    //创建用户
    public int createCustomer(Customer customer);
    //通过id查询用户
    public Customer getCustomerById(Integer id);
    //更新客户信息
    public int updateCustomer(Customer customer);
    //删除用户
    public int deleteCustomer(Integer id);
}
